package one.stand.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import one.stand.model.AssembleModel;
import one.stand.model.GoodSpecModel;
import one.stand.model.GoodsAssembleModel;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author Administrator
 */
@Data
@ApiModel(value = "商品信息返回")
public class GoodsResponse implements Serializable {

    @ApiModelProperty("商品id")
    private Integer goodsId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品分类id")
    private Integer goodstypeId;

    private String goodsTypeName;

    @ApiModelProperty("公司id")
    private Integer companyId;

    @ApiModelProperty("商品详情")
    private String goodsDetails;

    @ApiModelProperty("是否线上支付 1是")
    private Integer ispayment;

    @ApiModelProperty("是否分销商品 1是")
    private Integer isDistribution;

    @ApiModelProperty("是否拼团商品 1是")
    private Integer isAssemble;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("是否删除1是")
    private Integer isDel;

    @ApiModelProperty("商品价格")
    private Integer price;

    @ApiModelProperty("商品图片")
    private String goodPhoto;

    @ApiModelProperty("商品总库存")
    private Integer goodsNum;

    @ApiModelProperty("商品规格数量")
    private Integer specNum;

    @ApiModelProperty("商品总销量")
    private Integer dealNum;

    @ApiModelProperty("商品封面图")
    private String coverImg;

    @ApiModelProperty("公司名称")
    private String companyName;

    private GoodsAssembleModel goodsAssembleModel;

    private List<GoodSpecModel> goodSpecModelList;

    private List<AssembleModel> assembleModelList;
}